package com.huage.courseplatform.application.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("hg_notice")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="轮播",description="轮播")
public class Notice extends BaseEntity<Notice> {

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "类型：IMG：图片，VEDIO：视频")
    private String type;

    @ApiModelProperty(value = "是否显示：1：显示，0：不显示")
    private String isShow;

    @ApiModelProperty(value = "图片或者视频的文件ID")
    private String fileId;

    @ApiModelProperty(value = "商户ID(Admin时为系统主页轮播)")
    private String businessId;

}
